<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MuldeR&#39;s Utilities for Qt: include/MUtils/CPUFeatures.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MuldeR&#39;s Utilities for Qt
   </div>
   <div id="projectbrief">MUtilities</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_b076b53667bc06ebb413a190e197fc7b.html">MUtils</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">CPUFeatures.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../d2/db5/_c_p_u_features_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// MuldeR&#39;s Utilities for Qt</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// Copyright (C) 2004-2017 LoRd_MuldeR &lt;MuldeR2@GMX.de&gt;</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// This library is free software; you can redistribute it and/or</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// modify it under the terms of the GNU Lesser General Public</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// License as published by the Free Software Foundation; either</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// version 2.1 of the License, or (at your option) any later version.</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// This library is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// Lesser General Public License for more details.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// You should have received a copy of the GNU Lesser General Public</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// License along with this library; if not, write to the Free Software</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// http://www.gnu.org/licenses/lgpl-2.1.txt</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">//MUtils</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="../../d5/d3b/_global_8h.html">MUtils/Global.h</a>&gt;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">//Qt</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;QStringList&gt;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../d3/da6/namespace_m_utils.html">   37</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="../../d3/da6/namespace_m_utils.html">MUtils</a></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;{</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html">   44</a></span>&#160;    <span class="keyword">namespace </span>CPUFetaures</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    {</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        <span class="comment">// CPU vendor flag</span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#af1d34d67451c27e125b507089bfd147f">   47</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint8 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#af1d34d67451c27e125b507089bfd147f">VENDOR_INTEL</a> = 0x01U;   </div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a37e26e9e81b42bd517928449fa28fc4e">   48</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint8 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a37e26e9e81b42bd517928449fa28fc4e">VENDOR_AMD</a> = 0x02U; </div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        <span class="comment">// CPU feature flag</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#adf2416d7ed2553f313fb08c289365f5c">   51</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint32 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#adf2416d7ed2553f313fb08c289365f5c">FLAG_CMOV</a>  = 0x001U;   </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a1c2235ceac6576dace2a0ea9ddc1cbdf">   52</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint32 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a1c2235ceac6576dace2a0ea9ddc1cbdf">FLAG_MMX</a>   = 0x002U;   </div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a02a1dd90366db8200e38299635e54a90">   53</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint32 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a02a1dd90366db8200e38299635e54a90">FLAG_SSE</a>   = 0x004U;   </div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a9ba4833265029796db9279e9bd8beae8">   54</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint32 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a9ba4833265029796db9279e9bd8beae8">FLAG_SSE2</a>  = 0x008U;   </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a52bb099e73cb9f6d02ef6ac9f89b4061">   55</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint32 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a52bb099e73cb9f6d02ef6ac9f89b4061">FLAG_SSE3</a>  = 0x010U;   </div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a5125a29c37e57656f45ad168e654fd05">   56</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint32 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a5125a29c37e57656f45ad168e654fd05">FLAG_SSSE3</a> = 0x020U;   </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a425bc8f89d64bf6dafdbd00c89b9874b">   57</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint32 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a425bc8f89d64bf6dafdbd00c89b9874b">FLAG_SSE41</a> = 0x040U;   </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#afcb03b5edb1518bfca9984ff9ccc4f99">   58</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint32 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#afcb03b5edb1518bfca9984ff9ccc4f99">FLAG_SSE42</a> = 0x080U;   </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#ad8a4de23ab21ecd4871358e7edea90cb">   59</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint32 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#ad8a4de23ab21ecd4871358e7edea90cb">FLAG_AVX</a>   = 0x100U;   </div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a9d8a032c0fdeb501e4a39826ab2aa23c">   60</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint32 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a9d8a032c0fdeb501e4a39826ab2aa23c">FLAG_AVX2</a>  = 0x200U;   </div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a0700ba3ad4c671b7a6465b871bd60d2a">   61</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint32 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a0700ba3ad4c671b7a6465b871bd60d2a">FLAG_FMA3</a>  = 0x400U;   </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#acac041ff2292d32c1bd3f26f61486a01">   62</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> quint32 <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#acac041ff2292d32c1bd3f26f61486a01">FLAG_LZCNT</a> = 0x800U;   </div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html">   67</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html">_cpu_info_t</a></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        {</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#afefb6e7d6165b8de9bee1f17df826392">   69</a></span>&#160;            quint32 <a class="code" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#afefb6e7d6165b8de9bee1f17df826392">family</a>;     </div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a7d0a012412dc4b04f2b5b37e83f5874a">   70</a></span>&#160;            quint32 <a class="code" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a7d0a012412dc4b04f2b5b37e83f5874a">model</a>;      </div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a1cfc86c6c61d35c7bd6f2a9cbecb99e4">   71</a></span>&#160;            quint32 <a class="code" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a1cfc86c6c61d35c7bd6f2a9cbecb99e4">stepping</a>;   </div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a7861529c47568141daa37810ebb499ea">   72</a></span>&#160;            quint32 <a class="code" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a7861529c47568141daa37810ebb499ea">count</a>;      </div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a8f312e3386a9f56a8d10b890af3ce3af">   73</a></span>&#160;            quint32 <a class="code" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a8f312e3386a9f56a8d10b890af3ce3af">features</a>;   </div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#aebb4aa6da8a1c381715a792f8904222f">   74</a></span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#aebb4aa6da8a1c381715a792f8904222f">x64</a>;           </div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a932a85bcdb1be4b191d8ecd61b87ad26">   75</a></span>&#160;            quint8 <a class="code" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a932a85bcdb1be4b191d8ecd61b87ad26">vendor</a>;      </div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a58ab7955a771f842c3f16abd8cebb931">   76</a></span>&#160;            <span class="keywordtype">char</span> <a class="code" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a58ab7955a771f842c3f16abd8cebb931">idstr</a>[13];     </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a2986daa8c1b524a7f952eacb8d516696">   77</a></span>&#160;            <span class="keywordtype">char</span> <a class="code" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a2986daa8c1b524a7f952eacb8d516696">brand</a>[48];     </div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        }</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a8b80fb34713dbc70a63ae5cd48b0630e">cpu_info_t</a>;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        MUTILS_API <a class="code" href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html">cpu_info_t</a> <a class="code" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a5f26f530b11eee62845fb45fba6a32fc">detect</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    }</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;}</div><div class="ttc" id="struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t_html_afefb6e7d6165b8de9bee1f17df826392"><div class="ttname"><a href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#afefb6e7d6165b8de9bee1f17df826392">MUtils::CPUFetaures::_cpu_info_t::family</a></div><div class="ttdeci">quint32 family</div><div class="ttdoc">CPU family indicator, which specifies the processor &quot;generation&quot; to which the CPU belongs...</div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:69</div></div>
<div class="ttc" id="_global_8h_html"><div class="ttname"><a href="../../d5/d3b/_global_8h.html">Global.h</a></div><div class="ttdoc">This file contains miscellaneous functions that are generally useful for Qt-based applications...</div></div>
<div class="ttc" id="struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t_html_a1cfc86c6c61d35c7bd6f2a9cbecb99e4"><div class="ttname"><a href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a1cfc86c6c61d35c7bd6f2a9cbecb99e4">MUtils::CPUFetaures::_cpu_info_t::stepping</a></div><div class="ttdeci">quint32 stepping</div><div class="ttdoc">CPU stepping indicator, which is used to distinguish &quot;revisions&quot; of a certain processor model...</div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:71</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_a02a1dd90366db8200e38299635e54a90"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a02a1dd90366db8200e38299635e54a90">MUtils::CPUFetaures::FLAG_SSE</a></div><div class="ttdeci">static const quint32 FLAG_SSE</div><div class="ttdoc">CPU feature flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:53</div></div>
<div class="ttc" id="struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t_html_a8f312e3386a9f56a8d10b890af3ce3af"><div class="ttname"><a href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a8f312e3386a9f56a8d10b890af3ce3af">MUtils::CPUFetaures::_cpu_info_t::features</a></div><div class="ttdeci">quint32 features</div><div class="ttdoc">CPU feature flags, indicating suppoprt for extended instruction sets; all flags are OR-combined...</div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:73</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_a9d8a032c0fdeb501e4a39826ab2aa23c"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a9d8a032c0fdeb501e4a39826ab2aa23c">MUtils::CPUFetaures::FLAG_AVX2</a></div><div class="ttdeci">static const quint32 FLAG_AVX2</div><div class="ttdoc">CPU feature flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:60</div></div>
<div class="ttc" id="struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t_html"><div class="ttname"><a href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html">MUtils::CPUFetaures::_cpu_info_t</a></div><div class="ttdoc">Struct to hold information about the CPU. See _cpu_info_t for details! </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:67</div></div>
<div class="ttc" id="struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t_html_a7861529c47568141daa37810ebb499ea"><div class="ttname"><a href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a7861529c47568141daa37810ebb499ea">MUtils::CPUFetaures::_cpu_info_t::count</a></div><div class="ttdeci">quint32 count</div><div class="ttdoc">The number of available (logical) processors. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:72</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_a52bb099e73cb9f6d02ef6ac9f89b4061"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a52bb099e73cb9f6d02ef6ac9f89b4061">MUtils::CPUFetaures::FLAG_SSE3</a></div><div class="ttdeci">static const quint32 FLAG_SSE3</div><div class="ttdoc">CPU feature flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:55</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_a5125a29c37e57656f45ad168e654fd05"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a5125a29c37e57656f45ad168e654fd05">MUtils::CPUFetaures::FLAG_SSSE3</a></div><div class="ttdeci">static const quint32 FLAG_SSSE3</div><div class="ttdoc">CPU feature flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:56</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_a37e26e9e81b42bd517928449fa28fc4e"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a37e26e9e81b42bd517928449fa28fc4e">MUtils::CPUFetaures::VENDOR_AMD</a></div><div class="ttdeci">static const quint8 VENDOR_AMD</div><div class="ttdoc">CPU vendor flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:48</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_a8b80fb34713dbc70a63ae5cd48b0630e"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a8b80fb34713dbc70a63ae5cd48b0630e">MUtils::CPUFetaures::cpu_info_t</a></div><div class="ttdeci">struct MUtils::CPUFetaures::_cpu_info_t cpu_info_t</div><div class="ttdoc">Struct to hold information about the CPU. See _cpu_info_t for details! </div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_afcb03b5edb1518bfca9984ff9ccc4f99"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#afcb03b5edb1518bfca9984ff9ccc4f99">MUtils::CPUFetaures::FLAG_SSE42</a></div><div class="ttdeci">static const quint32 FLAG_SSE42</div><div class="ttdoc">CPU feature flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:58</div></div>
<div class="ttc" id="struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t_html_a932a85bcdb1be4b191d8ecd61b87ad26"><div class="ttname"><a href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a932a85bcdb1be4b191d8ecd61b87ad26">MUtils::CPUFetaures::_cpu_info_t::vendor</a></div><div class="ttdeci">quint8 vendor</div><div class="ttdoc">CPU vendor flag; might be zero, if vendor is unknown. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:75</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_a425bc8f89d64bf6dafdbd00c89b9874b"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a425bc8f89d64bf6dafdbd00c89b9874b">MUtils::CPUFetaures::FLAG_SSE41</a></div><div class="ttdeci">static const quint32 FLAG_SSE41</div><div class="ttdoc">CPU feature flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:57</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_acac041ff2292d32c1bd3f26f61486a01"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#acac041ff2292d32c1bd3f26f61486a01">MUtils::CPUFetaures::FLAG_LZCNT</a></div><div class="ttdeci">static const quint32 FLAG_LZCNT</div><div class="ttdoc">CPU feature flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:62</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_a5f26f530b11eee62845fb45fba6a32fc"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a5f26f530b11eee62845fb45fba6a32fc">MUtils::CPUFetaures::detect</a></div><div class="ttdeci">MUTILS_API cpu_info_t detect(void)</div><div class="ttdoc">Detect processor information. </div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_a0700ba3ad4c671b7a6465b871bd60d2a"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a0700ba3ad4c671b7a6465b871bd60d2a">MUtils::CPUFetaures::FLAG_FMA3</a></div><div class="ttdeci">static const quint32 FLAG_FMA3</div><div class="ttdoc">CPU feature flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:61</div></div>
<div class="ttc" id="struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t_html_aebb4aa6da8a1c381715a792f8904222f"><div class="ttname"><a href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#aebb4aa6da8a1c381715a792f8904222f">MUtils::CPUFetaures::_cpu_info_t::x64</a></div><div class="ttdeci">bool x64</div><div class="ttdoc">Indicates that the processor and the operating system support 64-Bit (AMD64/EM64T) ...</div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:74</div></div>
<div class="ttc" id="struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t_html_a2986daa8c1b524a7f952eacb8d516696"><div class="ttname"><a href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a2986daa8c1b524a7f952eacb8d516696">MUtils::CPUFetaures::_cpu_info_t::brand</a></div><div class="ttdeci">char brand[48]</div><div class="ttdoc">CPU brand string, up to 48 characters (e.g. &quot;Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz&quot;) ...</div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:77</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_af1d34d67451c27e125b507089bfd147f"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#af1d34d67451c27e125b507089bfd147f">MUtils::CPUFetaures::VENDOR_INTEL</a></div><div class="ttdeci">static const quint8 VENDOR_INTEL</div><div class="ttdoc">CPU vendor flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:47</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_adf2416d7ed2553f313fb08c289365f5c"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#adf2416d7ed2553f313fb08c289365f5c">MUtils::CPUFetaures::FLAG_CMOV</a></div><div class="ttdeci">static const quint32 FLAG_CMOV</div><div class="ttdoc">CPU feature flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:51</div></div>
<div class="ttc" id="namespace_m_utils_html"><div class="ttname"><a href="../../d3/da6/namespace_m_utils.html">MUtils</a></div><div class="ttdoc">Global MUtils namespace. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:37</div></div>
<div class="ttc" id="struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t_html_a58ab7955a771f842c3f16abd8cebb931"><div class="ttname"><a href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a58ab7955a771f842c3f16abd8cebb931">MUtils::CPUFetaures::_cpu_info_t::idstr</a></div><div class="ttdeci">char idstr[13]</div><div class="ttdoc">CPU identifier string, exactly 12 characters (e.g. &quot;GenuineIntel&quot; or &quot;AuthenticAMD&quot;) ...</div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:76</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_a9ba4833265029796db9279e9bd8beae8"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a9ba4833265029796db9279e9bd8beae8">MUtils::CPUFetaures::FLAG_SSE2</a></div><div class="ttdeci">static const quint32 FLAG_SSE2</div><div class="ttdoc">CPU feature flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:54</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_a1c2235ceac6576dace2a0ea9ddc1cbdf"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a1c2235ceac6576dace2a0ea9ddc1cbdf">MUtils::CPUFetaures::FLAG_MMX</a></div><div class="ttdeci">static const quint32 FLAG_MMX</div><div class="ttdoc">CPU feature flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:52</div></div>
<div class="ttc" id="namespace_m_utils_1_1_c_p_u_fetaures_html_ad8a4de23ab21ecd4871358e7edea90cb"><div class="ttname"><a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#ad8a4de23ab21ecd4871358e7edea90cb">MUtils::CPUFetaures::FLAG_AVX</a></div><div class="ttdeci">static const quint32 FLAG_AVX</div><div class="ttdoc">CPU feature flag. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:59</div></div>
<div class="ttc" id="struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t_html_a7d0a012412dc4b04f2b5b37e83f5874a"><div class="ttname"><a href="../../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html#a7d0a012412dc4b04f2b5b37e83f5874a">MUtils::CPUFetaures::_cpu_info_t::model</a></div><div class="ttdeci">quint32 model</div><div class="ttdoc">CPU model indicator, which is used to distinguish processor &quot;variants&quot; within a generation. </div><div class="ttdef"><b>Definition:</b> CPUFeatures.h:70</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>
